package com.zlzlib.vuePage.annotation.form;


import com.zlzlib.vuePage.annotation.data.FormDataField;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 下拉选择 动态数据
 *
 * @DateTime: 2024/6/6 16:04
 * @Author zlz
 * @Version 1.0
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface FormSelectField {

    FormDataField dataField();

    /**
     * @return 是否多选
     */
    boolean multiple() default false;

    /**
     * @return 多选最大数量
     */
    int multipleLimit() default 0;
}
